#6A56CC#6A56CC

#6A56CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.6% C 0.175 H 286.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6A56CC
RGBrgb(106, 86, 204)
HSLhsl(250, 54%, 57%)
HSVhsv(250, 58%, 80%)
CMYKcmyk(48%, 57.8%, 0%, 20%)
CIE-LABlab(44.35, 38.11, -58.80)
CIE-LCHlch(44.35, 70.07, 302.95°)
OKLaboklab(53.6% 0.0503 -0.168)
OKLCHoklch(53.6% 0.175 286.7)
XYZxyz(20.1675, 14.0785, 58.7698)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56CC #B8CC56
analogous
#567DCC #6A56CC #A556CC
triadic
#6A56CC #CC6A56 #56CC6A
tetradic
#6A56CC #CC567D #B8CC56 #56CCA5
square
#6A56CC #CC567D #B8CC56 #56CCA5
split-complementary
#6A56CC #CCA556 #7DCC56
monochromatic
#362781 #4A35B0 #6A56CC #9385DA #BDB4E8

Accessibility & contrast

On white

5.50
#6A56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A56CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56CC#FFFFFF#000000##FFFFFF
##6A56CC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#497189
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a56cc;
/* rgb */ color: rgb(106, 86, 204);
/* oklch */ color: oklch(53.6% 0.175 286.7);
Tailwind
colors: {
  custom: {
    50: '#9b86dc',
    500: '#6a56cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a56cc;
$custom-light: #9b86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56cc",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 250.169,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.17538,
    "h": 286.7
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#6A56CC
secondary
#CFD7A7
accent
#DD4BC4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6A56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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