#954FCA#954FCA

#954FCA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.188 H 307.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#954FCA
RGBrgb(149, 79, 202)
HSLhsl(274, 54%, 55%)
HSVhsv(274, 61%, 79%)
CMYKcmyk(26.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(47.30, 51.12, -52.66)
CIE-LCHlch(47.30, 73.39, 314.15°)
OKLaboklab(56.76% 0.1149 -0.1486)
OKLCHoklch(56.76% 0.188 307.7)
XYZxyz(25.8489, 16.2461, 57.6398)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FCA #84CA4F
analogous
#574FCA #954FCA #CA4FC2
triadic
#954FCA #CA954F #4FCA95
tetradic
#954FCA #CA574F #84CA4F #4FC2CA
square
#954FCA #CA574F #84CA4F #4FC2CA
split-complementary
#954FCA #C2CA4F #4FCA57
monochromatic
#55257A #7633A9 #954FCA #B17ED8 #CEADE6

Accessibility & contrast

On white

4.94
#954FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#954FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FCA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FCA#FFFFFF#000000##FFFFFF
##954FCA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#8D6785
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954fca;
/* rgb */ color: rgb(149, 79, 202);
/* oklch */ color: oklch(56.8% 0.188 307.7);
Tailwind
colors: {
  custom: {
    50: '#b884db',
    500: '#954fca',
    950: '#000000',
  },
}
SCSS
$custom: #954fca;
$custom-light: #b884db;
$custom-dark: #000000;
JSON
{
  "hex": "#954fca",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 274.146,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56762,
    "c": 0.18786,
    "h": 307.7
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#954FCA
secondary
#B7D4A1
accent
#DD4B8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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