#6B4BEC#6B4BEC

#6B4BEC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.228 H 285.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6B4BEC
RGBrgb(107, 75, 236)
HSLhsl(252, 81%, 61%)
HSVhsv(252, 68%, 93%)
CMYKcmyk(54.7%, 68.2%, 0%, 7.5%)
CIE-LABlab(44.54, 53.84, -76.72)
CIE-LCHlch(44.54, 93.73, 305.06°)
OKLaboklab(54.52% 0.0593 -0.2206)
OKLCHoklch(54.52% 0.228 285.1)
XYZxyz(23.7152, 14.2127, 80.8343)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BEC #CCEC4B
analogous
#4B7BEC #6B4BEC #BB4BEC
triadic
#6B4BEC #EC6B4B #4BEC6B
tetradic
#6B4BEC #EC4B7B #CCEC4B #4BECBB
square
#6B4BEC #EC4B7B #CCEC4B #4BECBB
split-complementary
#6B4BEC #ECBB4B #7BEC4B
monochromatic
#3012AB #4018E2 #6B4BEC #9982F2 #C6BAF8

Accessibility & contrast

On white

5.46
#6B4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6B4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BEC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BEC#FFFFFF#000000##FFFFFF
##6B4BEC1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#307596
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b4bec;
/* rgb */ color: rgb(107, 75, 236);
/* oklch */ color: oklch(54.5% 0.228 285.1);
Tailwind
colors: {
  custom: {
    50: '#a180f3',
    500: '#6b4bec',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bec;
$custom-light: #a180f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bec",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 251.925,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.22849,
    "h": 285.1
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#6B4BEC
secondary
#DCE8AB
accent
#DD08B3
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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