#6B49EF#6B49EF

#6B49EF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.234 H 285.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6B49EF
RGBrgb(107, 73, 239)
HSLhsl(252, 84%, 61%)
HSVhsv(252, 69%, 94%)
CMYKcmyk(55.2%, 69.5%, 0%, 6.3%)
CIE-LABlab(44.41, 55.75, -78.63)
CIE-LCHlch(44.41, 96.38, 305.34°)
OKLaboklab(54.5% 0.0604 -0.2262)
OKLCHoklch(54.5% 0.234 285)
XYZxyz(24.0212, 14.1215, 83.1046)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49EF #CDEF49
analogous
#497AEF #6B49EF #BE49EF
triadic
#6B49EF #EF6B49 #49EF6B
tetradic
#6B49EF #EF497A #CDEF49 #49EFBE
square
#6B49EF #EF497A #CDEF49 #49EFBE
split-complementary
#6B49EF #EFBE49 #7AEF49
monochromatic
#300FAE #3F14E7 #6B49EF #9981F4 #C6BAF9

Accessibility & contrast

On white

5.49
#6B49EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6B49EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49EF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49EF#FFFFFF#000000##FFFFFF
##6B49EF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#2C7597
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b49ef;
/* rgb */ color: rgb(107, 73, 239);
/* oklch */ color: oklch(54.5% 0.234 285.0);
Tailwind
colors: {
  custom: {
    50: '#a27ff5',
    500: '#6b49ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b49ef;
$custom-light: #a27ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49ef",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 239
  },
  "hsl": {
    "h": 252.289,
    "s": 83.838,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.23416,
    "h": 285
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#6B49EF
secondary
#DCE9AB
accent
#E005B3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B49EF

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

Preview Lab → · Contrast checker → · Palette generator →

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