#945FEA#945FEA

#945FEA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.0% C 0.202 H 297.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#945FEA
RGBrgb(148, 95, 234)
HSLhsl(263, 77%, 65%)
HSVhsv(263, 59%, 92%)
CMYKcmyk(36.8%, 59.4%, 0%, 8.2%)
CIE-LABlab(52.31, 50.30, -62.79)
CIE-LCHlch(52.31, 80.45, 308.70°)
OKLaboklab(61.03% 0.0937 -0.1784)
OKLCHoklch(61.03% 0.202 297.7)
XYZxyz(31.1525, 20.4204, 80.1262)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FEA #B5EA5F
analogous
#5F6FEA #945FEA #DA5FEA
triadic
#945FEA #EA945F #5FEA94
tetradic
#945FEA #EA5F6F #B5EA5F #5FEADA
square
#945FEA #EA5F6F #B5EA5F #5FEADA
split-complementary
#945FEA #EADA5F #6FEA5F
monochromatic
#5418B7 #7029E3 #945FEA #B895F1 #DCCBF8

Accessibility & contrast

On white

4.13
#945FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#945FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FEA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FEA#FFFFFF#000000##000000
##945FEA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#807D9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #945fea;
/* rgb */ color: rgb(148, 95, 234);
/* oklch */ color: oklch(61.0% 0.202 297.7);
Tailwind
colors: {
  custom: {
    50: '#b88ff1',
    500: '#945fea',
    950: '#000000',
  },
}
SCSS
$custom: #945fea;
$custom-light: #b88ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#945fea",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 262.878,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61031,
    "c": 0.20153,
    "h": 297.7
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#945FEA
secondary
#D8EABA
accent
#D90C8B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FEA

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

Preview Lab → · Contrast checker → · Palette generator →

#945FEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva