#954BEA#954BEA

#954BEA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.228 H 300.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#954BEA
RGBrgb(149, 75, 234)
HSLhsl(268, 79%, 61%)
HSVhsv(268, 68%, 92%)
CMYKcmyk(36.3%, 67.9%, 0%, 8.2%)
CIE-LABlab(48.71, 60.58, -68.60)
CIE-LCHlch(48.71, 91.52, 311.45°)
OKLaboklab(58.46% 0.1166 -0.1954)
OKLCHoklch(58.46% 0.228 300.8)
XYZxyz(29.7582, 17.3620, 79.6094)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BEA #A0EA4B
analogous
#4B50EA #954BEA #E54BEA
triadic
#954BEA #EA954B #4BEA95
tetradic
#954BEA #EA4B50 #A0EA4B #4BEAE5
square
#954BEA #EA4B50 #A0EA4B #4BEAE5
split-complementary
#954BEA #EAE54B #50EA4B
monochromatic
#5813A7 #751ADE #954BEA #B582F0 #D6B9F7

Accessibility & contrast

On white

4.70
#954BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#954BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BEA#FFFFFF#000000##FFFFFF
##954BEA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#827095
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #954bea;
/* rgb */ color: rgb(149, 75, 234);
/* oklch */ color: oklch(58.5% 0.228 300.8);
Tailwind
colors: {
  custom: {
    50: '#ba82f2',
    500: '#954bea',
    950: '#000000',
  },
}
SCSS
$custom: #954bea;
$custom-light: #ba82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#954bea",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 234
  },
  "hsl": {
    "h": 267.925,
    "s": 79.104,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.2276,
    "h": 300.8
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#954BEA
secondary
#CAE7AA
accent
#DB0A7A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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