#6C4BEC#6C4BEC

#6C4BEC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.228 H 285.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6C4BEC
RGBrgb(108, 75, 236)
HSLhsl(252, 81%, 61%)
HSVhsv(252, 68%, 93%)
CMYKcmyk(54.2%, 68.2%, 0%, 7.5%)
CIE-LABlab(44.62, 53.99, -76.57)
CIE-LCHlch(44.62, 93.70, 305.19°)
OKLaboklab(54.6% 0.0607 -0.2202)
OKLCHoklch(54.6% 0.228 285.4)
XYZxyz(23.8362, 14.2751, 80.8400)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BEC #CBEC4B
analogous
#4B7AEC #6C4BEC #BC4BEC
triadic
#6C4BEC #EC6C4B #4BEC6C
tetradic
#6C4BEC #EC4B7A #CBEC4B #4BECBC
square
#6C4BEC #EC4B7A #CBEC4B #4BECBC
split-complementary
#6C4BEC #ECBC4B #7AEC4B
monochromatic
#3112AB #4118E2 #6C4BEC #9982F2 #C6BAF8

Accessibility & contrast

On white

5.45
#6C4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6C4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BEC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BEC#FFFFFF#000000##FFFFFF
##6C4BEC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#337596
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4bec;
/* rgb */ color: rgb(108, 75, 236);
/* oklch */ color: oklch(54.6% 0.228 285.4);
Tailwind
colors: {
  custom: {
    50: '#a280f3',
    500: '#6c4bec',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bec;
$custom-light: #a280f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bec",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 252.298,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.2284,
    "h": 285.4
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#6C4BEC
secondary
#DBE8AB
accent
#DD08B2
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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