#935FEA#935FEA

#935FEA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.201 H 297.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#935FEA
RGBrgb(147, 95, 234)
HSLhsl(262, 77%, 65%)
HSVhsv(262, 59%, 92%)
CMYKcmyk(37.2%, 59.4%, 0%, 8.2%)
CIE-LABlab(52.21, 50.08, -62.96)
CIE-LCHlch(52.21, 80.45, 308.50°)
OKLaboklab(60.93% 0.0924 -0.179)
OKLCHoklch(60.93% 0.201 297.3)
XYZxyz(30.9723, 20.3275, 80.1178)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FEA #B6EA5F
analogous
#5F71EA #935FEA #D95FEA
triadic
#935FEA #EA935F #5FEA93
tetradic
#935FEA #EA5F71 #B6EA5F #5FEAD9
square
#935FEA #EA5F71 #B6EA5F #5FEAD9
split-complementary
#935FEA #EAD95F #71EA5F
monochromatic
#5318B7 #6E29E3 #935FEA #B895F1 #DCCBF8

Accessibility & contrast

On white

4.15
#935FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#935FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FEA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FEA#FFFFFF#000000##000000
##935FEA1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#7F7D9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935fea;
/* rgb */ color: rgb(147, 95, 234);
/* oklch */ color: oklch(60.9% 0.201 297.3);
Tailwind
colors: {
  custom: {
    50: '#b88ef1',
    500: '#935fea',
    950: '#000000',
  },
}
SCSS
$custom: #935fea;
$custom-light: #b88ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#935fea",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 262.446,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.20141,
    "h": 297.3
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #935FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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