#B341F7#B341F7

#B341F7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.8% C 0.258 H 309.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B341F7
RGBrgb(179, 65, 247)
HSLhsl(278, 92%, 61%)
HSVhsv(278, 74%, 97%)
CMYKcmyk(27.5%, 73.7%, 0%, 3.1%)
CIE-LABlab(51.93, 73.16, -70.50)
CIE-LCHlch(51.93, 101.60, 316.06°)
OKLaboklab(61.84% 0.1632 -0.2)
OKLCHoklch(61.84% 0.258 309.2)
XYZxyz(37.2658, 20.0804, 89.8904)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341F7 #85F741
analogous
#5841F7 #B341F7 #F741E0
triadic
#B341F7 #F7B341 #41F7B3
tetradic
#B341F7 #F75841 #85F741 #41E0F7
square
#B341F7 #F75841 #85F741 #41E0F7
split-complementary
#B341F7 #E0F741 #41F758
monochromatic
#7508B6 #9B0AF1 #B341F7 #CA7CF9 #E2B6FC

Accessibility & contrast

On white

4.19
#B341F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B341F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B341F7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341F7#FFFFFF#000000##000000
##B341F71.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#A96C9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b341f7;
/* rgb */ color: rgb(179, 65, 247);
/* oklch */ color: oklch(61.8% 0.258 309.2);
Tailwind
colors: {
  custom: {
    50: '#cf80fb',
    500: '#b341f7',
    950: '#000000',
  },
}
SCSS
$custom: #b341f7;
$custom-light: #cf80fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b341f7",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 247
  },
  "hsl": {
    "h": 277.582,
    "s": 91.919,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61839,
    "c": 0.25812,
    "h": 309.2
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#B341F7
secondary
#C1ECA8
accent
#E60056
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #B341F7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B341F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva