#954FCB#954FCB

#954FCB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.189 H 307.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#954FCB
RGBrgb(149, 79, 203)
HSLhsl(274, 54%, 55%)
HSVhsv(274, 61%, 80%)
CMYKcmyk(26.6%, 61.1%, 0%, 20.4%)
CIE-LABlab(47.36, 51.35, -53.14)
CIE-LCHlch(47.36, 73.89, 314.02°)
OKLaboklab(56.83% 0.1149 -0.15)
OKLCHoklch(56.83% 0.189 307.4)
XYZxyz(25.9677, 16.2936, 58.2653)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FCB #85CB4F
analogous
#574FCB #954FCB #CB4FC3
triadic
#954FCB #CB954F #4FCB95
tetradic
#954FCB #CB574F #85CB4F #4FC3CB
square
#954FCB #CB574F #85CB4F #4FC3CB
split-complementary
#954FCB #C3CB4F #4FCB57
monochromatic
#55247B #7632AA #954FCB #B17ED9 #CEADE7

Accessibility & contrast

On white

4.93
#954FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#954FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FCB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FCB#FFFFFF#000000##FFFFFF
##954FCB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#8D6886
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954fcb;
/* rgb */ color: rgb(149, 79, 203);
/* oklch */ color: oklch(56.8% 0.189 307.4);
Tailwind
colors: {
  custom: {
    50: '#b884db',
    500: '#954fcb',
    950: '#000000',
  },
}
SCSS
$custom: #954fcb;
$custom-light: #b884db;
$custom-dark: #000000;
JSON
{
  "hex": "#954fcb",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 273.871,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.18895,
    "h": 307.4
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#954FCB
secondary
#B8D5A1
accent
#DE4A8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954FCB

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

Preview Lab → · Contrast checker → · Palette generator →

#954FCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva