#6B4FEA#6B4FEA

#6B4FEA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.222 H 284.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6B4FEA
RGBrgb(107, 79, 234)
HSLhsl(251, 79%, 61%)
HSVhsv(251, 66%, 92%)
CMYKcmyk(54.3%, 66.2%, 0%, 8.2%)
CIE-LABlab(45.16, 51.11, -74.57)
CIE-LCHlch(45.16, 90.41, 304.43°)
OKLaboklab(54.92% 0.0562 -0.2143)
OKLCHoklch(54.92% 0.222 284.7)
XYZxyz(23.7062, 14.6569, 79.4059)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FEA #CEEA4F
analogous
#4F81EA #6B4FEA #B94FEA
triadic
#6B4FEA #EA6B4F #4FEA6B
tetradic
#6B4FEA #EA4F81 #CEEA4F #4FEAB9
square
#6B4FEA #EA4F81 #CEEA4F #4FEAB9
split-complementary
#6B4FEA #EAB94F #81EA4F
monochromatic
#2F14AA #3F1BE1 #6B4FEA #9986F1 #C7BCF7

Accessibility & contrast

On white

5.34
#6B4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6B4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FEA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FEA#FFFFFF#000000##FFFFFF
##6B4FEA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#327696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b4fea;
/* rgb */ color: rgb(107, 79, 234);
/* oklch */ color: oklch(54.9% 0.222 284.7);
Tailwind
colors: {
  custom: {
    50: '#a182f2',
    500: '#6b4fea',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fea;
$custom-light: #a182f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fea",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 250.839,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.2216,
    "h": 284.7
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#6B4FEA
secondary
#DDE7AD
accent
#DB0BB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

#6B4FEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva