#6A4BEC#6A4BEC

#6A4BEC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.229 H 284.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6A4BEC
RGBrgb(106, 75, 236)
HSLhsl(252, 81%, 61%)
HSVhsv(252, 68%, 93%)
CMYKcmyk(55.1%, 68.2%, 0%, 7.5%)
CIE-LABlab(44.45, 53.69, -76.87)
CIE-LCHlch(44.45, 93.76, 304.93°)
OKLaboklab(54.44% 0.058 -0.2211)
OKLCHoklch(54.44% 0.229 284.7)
XYZxyz(23.5957, 14.1511, 80.8287)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BEC #CDEC4B
analogous
#4B7CEC #6A4BEC #BB4BEC
triadic
#6A4BEC #EC6A4B #4BEC6A
tetradic
#6A4BEC #EC4B7C #CDEC4B #4BECBB
square
#6A4BEC #EC4B7C #CDEC4B #4BECBB
split-complementary
#6A4BEC #ECBB4B #7CEC4B
monochromatic
#2F12AB #3F18E2 #6A4BEC #9882F2 #C6BAF8

Accessibility & contrast

On white

5.48
#6A4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6A4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BEC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BEC#FFFFFF#000000##FFFFFF
##6A4BEC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a4bec;
/* rgb */ color: rgb(106, 75, 236);
/* oklch */ color: oklch(54.4% 0.229 284.7);
Tailwind
colors: {
  custom: {
    50: '#a180f3',
    500: '#6a4bec',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bec;
$custom-light: #a180f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bec",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 251.553,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.2286,
    "h": 284.7
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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