#935FC8#935FC8

#935FC8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.161 H 304.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#935FC8
RGBrgb(147, 95, 200)
HSLhsl(270, 49%, 58%)
HSVhsv(270, 53%, 78%)
CMYKcmyk(26.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(50.17, 41.64, -46.94)
CIE-LCHlch(50.17, 62.75, 311.58°)
OKLaboklab(58.78% 0.0918 -0.132)
OKLCHoklch(58.78% 0.161 304.8)
XYZxyz(26.5479, 18.5577, 56.8158)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FC8 #94C85F
analogous
#5F60C8 #935FC8 #C75FC8
triadic
#935FC8 #C8935F #5FC893
tetradic
#935FC8 #C85F60 #94C85F #5FC8C7
square
#935FC8 #C85F60 #94C85F #5FC8C7
split-complementary
#935FC8 #C8C75F #60C85F
monochromatic
#562C80 #743CAE #935FC8 #B28DD8 #D0BAE7

Accessibility & contrast

On white

4.46
#935FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#935FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FC8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FC8#FFFFFF#000000##000000
##935FC81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#8A728A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935fc8;
/* rgb */ color: rgb(147, 95, 200);
/* oklch */ color: oklch(58.8% 0.161 304.8);
Tailwind
colors: {
  custom: {
    50: '#b58ed9',
    500: '#935fc8',
    950: '#000000',
  },
}
SCSS
$custom: #935fc8;
$custom-light: #b58ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#935fc8",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 269.714,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.16076,
    "h": 304.8
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#935FC8
secondary
#C2D6AC
accent
#D84F95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #935FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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