#7830CF#7830CF

#7830CF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.225 H 298.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7830CF
RGBrgb(120, 48, 207)
HSLhsl(267, 62%, 50%)
HSVhsv(267, 77%, 81%)
CMYKcmyk(42%, 76.8%, 0%, 18.8%)
CIE-LABlab(38.92, 60.99, -69.29)
CIE-LCHlch(38.92, 92.31, 311.35°)
OKLaboklab(50.11% 0.1064 -0.1983)
OKLCHoklch(50.11% 0.225 298.2)
XYZxyz(20.0623, 10.6116, 60.0106)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830CF #87CF30
analogous
#3037CF #7830CF #C830CF
triadic
#7830CF #CF7830 #30CF78
tetradic
#7830CF #CF3037 #87CF30 #30CFC8
square
#7830CF #CF3037 #87CF30 #30CFC8
split-complementary
#7830CF #CFC830 #37CF30
monochromatic
#3E196C #5B249D #7830CF #9862DB #B993E6

Accessibility & contrast

On white

6.73
#7830CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7830CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7830CF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830CF#FFFFFF#000000##FFFFFF
##7830CF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#625B7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7830cf;
/* rgb */ color: rgb(120, 48, 207);
/* oklch */ color: oklch(50.1% 0.225 298.2);
Tailwind
colors: {
  custom: {
    50: '#a770df',
    500: '#7830cf',
    950: '#000000',
  },
}
SCSS
$custom: #7830cf;
$custom-light: #a770df;
$custom-dark: #000000;
JSON
{
  "hex": "#7830cf",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 267.17,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.50113,
    "c": 0.22502,
    "h": 298.2
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#7830CF
secondary
#B1D18A
accent
#E5429C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7830CF

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

Preview Lab → · Contrast checker → · Palette generator →

#7830CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva