#6954CD#6954CD

#6954CD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.179 H 286.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6954CD
RGBrgb(105, 84, 205)
HSLhsl(250, 55%, 57%)
HSVhsv(250, 59%, 80%)
CMYKcmyk(48.8%, 59%, 0%, 19.6%)
CIE-LABlab(43.87, 39.38, -60.14)
CIE-LCHlch(43.87, 71.89, 303.22°)
OKLaboklab(53.26% 0.0512 -0.172)
OKLCHoklch(53.26% 0.179 286.6)
XYZxyz(20.0122, 13.7508, 59.3455)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954CD #B8CD54
analogous
#547CCD #6954CD #A654CD
triadic
#6954CD #CD6954 #54CD69
tetradic
#6954CD #CD547C #B8CD54 #54CDA6
square
#6954CD #CD547C #B8CD54 #54CDA6
split-complementary
#6954CD #CDA654 #7CCD54
monochromatic
#362681 #4934B0 #6954CD #9383DB #BCB3E9

Accessibility & contrast

On white

5.60
#6954CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6954CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954CD#FFFFFF#000000##FFFFFF
##6954CD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#467088
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6954cd;
/* rgb */ color: rgb(105, 84, 205);
/* oklch */ color: oklch(53.3% 0.179 286.6);
Tailwind
colors: {
  custom: {
    50: '#9b85dd',
    500: '#6954cd',
    950: '#000000',
  },
}
SCSS
$custom: #6954cd;
$custom-light: #9b85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6954cd",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 250.413,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.17945,
    "h": 286.6
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#6954CD
secondary
#CFD7A6
accent
#DE4AC4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6954CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6954CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva