#954BCA#954BCA

#954BCA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.194 H 308.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#954BCA
RGBrgb(149, 75, 202)
HSLhsl(275, 55%, 54%)
HSVhsv(275, 63%, 79%)
CMYKcmyk(26.2%, 62.9%, 0%, 20.8%)
CIE-LABlab(46.56, 53.11, -53.84)
CIE-LCHlch(46.56, 75.63, 314.61°)
OKLaboklab(56.23% 0.1197 -0.1521)
OKLCHoklch(56.23% 0.194 308.2)
XYZxyz(25.5690, 15.6864, 57.5465)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BCA #80CA4B
analogous
#564BCA #954BCA #CA4BBF
triadic
#954BCA #CA954B #4BCA95
tetradic
#954BCA #CA564B #80CA4B #4BBFCA
square
#954BCA #CA564B #80CA4B #4BBFCA
split-complementary
#954BCA #BFCA4B #4BCA56
monochromatic
#542377 #7631A7 #954BCA #B17AD8 #CDAAE6

Accessibility & contrast

On white

5.08
#954BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#954BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BCA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BCA#FFFFFF#000000##FFFFFF
##954BCA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#8D6584
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954bca;
/* rgb */ color: rgb(149, 75, 202);
/* oklch */ color: oklch(56.2% 0.194 308.2);
Tailwind
colors: {
  custom: {
    50: '#b881db',
    500: '#954bca',
    950: '#000000',
  },
}
SCSS
$custom: #954bca;
$custom-light: #b881db;
$custom-dark: #000000;
JSON
{
  "hex": "#954bca",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 274.961,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.19353,
    "h": 308.2
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#954BCA
secondary
#B4D39D
accent
#DE4A88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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