#945FEE#945FEE

#945FEE is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.206 H 297.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#945FEE
RGBrgb(148, 95, 238)
HSLhsl(262, 81%, 65%)
HSVhsv(262, 60%, 93%)
CMYKcmyk(37.8%, 60.1%, 0%, 6.7%)
CIE-LABlab(52.57, 51.32, -64.62)
CIE-LCHlch(52.57, 82.52, 308.46°)
OKLaboklab(61.3% 0.0935 -0.1838)
OKLCHoklch(61.3% 0.206 297)
XYZxyz(31.7336, 20.6528, 83.1868)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FEE #B9EE5F
analogous
#5F71EE #945FEE #DC5FEE
triadic
#945FEE #EE945F #5FEE94
tetradic
#945FEE #EE5F71 #B9EE5F #5FEEDC
square
#945FEE #EE5F71 #B9EE5F #5FEEDC
split-complementary
#945FEE #EEDC5F #71EE5F
monochromatic
#5314BE #6F28E8 #945FEE #B996F4 #DECEFA

Accessibility & contrast

On white

4.09
#945FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#945FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FEE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FEE#FFFFFF#000000##000000
##945FEE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#7E7E9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #945fee;
/* rgb */ color: rgb(148, 95, 238);
/* oklch */ color: oklch(61.3% 0.206 297.0);
Tailwind
colors: {
  custom: {
    50: '#b98ff4',
    500: '#945fee',
    950: '#000000',
  },
}
SCSS
$custom: #945fee;
$custom-light: #b98ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#945fee",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 262.238,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.20623,
    "h": 297
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#945FEE
secondary
#DBECBC
accent
#DD088E
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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