#6D57D9#6D57D9

#6D57D9 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.0% C 0.191 H 286.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6D57D9
RGBrgb(109, 87, 217)
HSLhsl(250, 63%, 60%)
HSVhsv(250, 60%, 85%)
CMYKcmyk(49.8%, 59.9%, 0%, 14.9%)
CIE-LABlab(45.74, 41.97, -63.98)
CIE-LCHlch(45.74, 76.52, 303.27°)
OKLaboklab(54.98% 0.0527 -0.1831)
OKLCHoklch(54.98% 0.191 286.1)
XYZxyz(22.2356, 15.0763, 67.3706)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D57D9 #C3D957
analogous
#5782D9 #6D57D9 #AE57D9
triadic
#6D57D9 #D96D57 #57D96D
tetradic
#6D57D9 #D95782 #C3D957 #57D9AE
square
#6D57D9 #D95782 #C3D957 #57D9AE
split-complementary
#6D57D9 #D9AE57 #82D957
monochromatic
#352194 #472DC6 #6D57D9 #9889E4 #C4BBF0

Accessibility & contrast

On white

5.23
#6D57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6D57D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D57D9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D57D9#FFFFFF#000000##FFFFFF
##6D57D91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#467590
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d57d9;
/* rgb */ color: rgb(109, 87, 217);
/* oklch */ color: oklch(55.0% 0.191 286.1);
Tailwind
colors: {
  custom: {
    50: '#9f87e6',
    500: '#6d57d9',
    950: '#000000',
  },
}
SCSS
$custom: #6d57d9;
$custom-light: #9f87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d57d9",
  "rgb": {
    "r": 109,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 250.154,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.19059,
    "h": 286.1
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#6D57D9
secondary
#D7DFAD
accent
#E642CA
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6D57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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