#935CD2#935CD2

#935CD2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.177 H 302.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#935CD2
RGBrgb(147, 92, 210)
HSLhsl(268, 57%, 59%)
HSVhsv(268, 56%, 82%)
CMYKcmyk(30%, 56.2%, 0%, 17.6%)
CIE-LABlab(50.11, 45.71, -52.75)
CIE-LCHlch(50.11, 69.80, 310.91°)
OKLaboklab(58.92% 0.0962 -0.149)
OKLCHoklch(58.92% 0.177 302.8)
XYZxyz(27.4900, 18.5105, 63.0849)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD2 #9BD25C
analogous
#5C60D2 #935CD2 #CE5CD2
triadic
#935CD2 #D2935C #5CD293
tetradic
#935CD2 #D25C60 #9BD25C #5CD2CE
square
#935CD2 #D25C60 #9BD25C #5CD2CE
split-complementary
#935CD2 #D2CE5C #60D25C
monochromatic
#56278D #7434BD #935CD2 #B38CDF #D3BCEC

Accessibility & contrast

On white

4.47
#935CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#935CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD2#FFFFFF#000000##000000
##935CD21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#87738E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935cd2;
/* rgb */ color: rgb(147, 92, 210);
/* oklch */ color: oklch(58.9% 0.177 302.8);
Tailwind
colors: {
  custom: {
    50: '#b68ce0',
    500: '#935cd2',
    950: '#000000',
  },
}
SCSS
$custom: #935cd2;
$custom-light: #b68ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd2",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 267.966,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.17733,
    "h": 302.8
  },
  "luminance": 0.1851
}

Semantic roles & 50–950 ramp

primary
#935CD2
secondary
#C6DCAE
accent
#E04899
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #935CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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