#954DEA#954DEA

#954DEA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.225 H 300.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#954DEA
RGBrgb(149, 77, 234)
HSLhsl(268, 79%, 61%)
HSVhsv(268, 67%, 92%)
CMYKcmyk(36.3%, 67.1%, 0%, 8.2%)
CIE-LABlab(49.05, 59.64, -68.05)
CIE-LCHlch(49.05, 90.48, 311.23°)
OKLaboklab(58.7% 0.1146 -0.1938)
OKLCHoklch(58.7% 0.225 300.6)
XYZxyz(29.8960, 17.6376, 79.6553)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DEA #A2EA4D
analogous
#4D53EA #954DEA #E34DEA
triadic
#954DEA #EA954D #4DEA95
tetradic
#954DEA #EA4D53 #A2EA4D #4DEAE3
square
#954DEA #EA4D53 #A2EA4D #4DEAE3
split-complementary
#954DEA #EAE34D #53EA4D
monochromatic
#5814A9 #751ADF #954DEA #B684F0 #D6BAF7

Accessibility & contrast

On white

4.64
#954DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#954DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #954DEA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DEA#FFFFFF#000000##FFFFFF
##954DEA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#827296
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #954dea;
/* rgb */ color: rgb(149, 77, 234);
/* oklch */ color: oklch(58.7% 0.225 300.6);
Tailwind
colors: {
  custom: {
    50: '#ba84f2',
    500: '#954dea',
    950: '#000000',
  },
}
SCSS
$custom: #954dea;
$custom-light: #ba84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#954dea",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 267.516,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.22518,
    "h": 300.6
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#954DEA
secondary
#CCE7AC
accent
#DB0A7B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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